package com.cloud.ding_talk.vo;

/**
 * 钉钉消息对象
 *
 * @author yzj
 */
public class DingNotice {

    private Long agentId;
    // 租户ID
    private String tenantId;
    // 接收人用户ID(accountId),多个人时使用逗号分隔
    private String accountIds;
    // 消息标题
    private String title;
    // 消息ID
    private String contentId;
    // 消息内容
    private String content;

    public DingNotice(Long agentId, String accountIds, String title, String contentId, String content) {
        this.agentId = agentId;
        this.accountIds = accountIds;
        this.title = title;
        this.contentId = contentId;
        this.content = content;
    }

    public DingNotice(String tenantId, String accountIds, String title, String contentId, String content) {
        this.tenantId = tenantId;
        this.accountIds = accountIds;
        this.title = title;
        this.contentId = contentId;
        this.content = content;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public String getAccountIds() {
        return accountIds;
    }

    public void setAccountIds(String accountIds) {
        this.accountIds = accountIds;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContentId() {
        return contentId;
    }

    public void setContentId(String contentId) {
        this.contentId = contentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

}
